package com.laputa.service.model.impl;

import java.util.Hashtable;
import java.util.Set;

import com.laputa.service.model.BuildData;

public class BuildDataImpl implements BuildData {
	
	private static Hashtable<Long, Long> buildingTypes;
	
	public BuildDataImpl(){
		buildingTypes = new Hashtable<Long, Long>();
		for(long i = 0; i < 4; i++)
			buildingTypes.put(i, i+100);
	}
	
	public Long getPrice(Long type) {
		return buildingTypes.get(type);
	}

	public Set<Long> getTypes() {
		return buildingTypes.keySet();
	}

}
